package imitate.mybatis.code.generation.field;

import imitate.mybatis.code.generation.parsing.XNode;
import imitate.mybatis.code.generation.session.Configuration;

/**
 * 生成文件类
 * 
 * @author Administrator
 *
 */
public class CreateIApiFileConfig extends CreateFileConfig {

	/**
	 * 文件内容
	 */
	protected XNode fileBody;
	/**
	 * 有自己query方法
	 */
	protected XNode queryField;
	/**
	 * 有自己update方法
	 */
	protected XNode updateField;
	/**
	 * 有自己delete方法
	 */
	protected XNode deleteField;
	/**
	 * 有自己orderBy方法
	 */
	protected XNode orderByField;

	public CreateIApiFileConfig() {
		super();
	}

	public CreateIApiFileConfig(Configuration configuration) {
		super();
		this.configuration = configuration;
	}

	public CreateIApiFileConfig(XNode fileBody, Configuration configuration) {
		super();
		this.fileBody = fileBody;
		this.configuration = configuration;
	}

	public XNode getFileBody() {
		return fileBody;
	}

	public void setFileBody(XNode fileBody) {
		this.fileBody = fileBody;
	}

	public XNode getQueryField() {
		return queryField;
	}

	public void setQueryField(XNode queryField) {
		this.queryField = queryField;
	}

	public XNode getUpdateField() {
		return updateField;
	}

	public void setUpdateField(XNode updateField) {
		this.updateField = updateField;
	}

	public XNode getDeleteField() {
		return deleteField;
	}

	public void setDeleteField(XNode deleteField) {
		this.deleteField = deleteField;
	}

	public XNode getOrderByField() {
		return orderByField;
	}

	public void setOrderByField(XNode orderByField) {
		this.orderByField = orderByField;
	}

}
